package com.qymerge.manage.core.enums;

/**
 * 医生开诊状态
 * Created by chen.qiu on 2017/4/28 at 14:46.
 */
public enum DoctorOnLineTypes {

    Wait(1, "开诊等待中"),
    Dispatch(2, "派单中"),
    Grab(3, "抢单中"),
    WaitPay(4, "抢单成功等待付款"),
    Inquiry(5, "问诊中"),
    Close(6, "关闭诊室"),
    ;

    static public int getRoomStatus(int code){
        return code;
    }

    private int code;
    private String desc;

    DoctorOnLineTypes() {

    }

    DoctorOnLineTypes(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}